Fix bug with limit: 1 and findAndCountAll

Work in progress