fixed simpleQuery zero, one, multiple results