Wrong check, it is nestedResultMaps, not nestedQueries