PostgreSqlStorage: Fix apparently-incorrect index in requestAllMsgs