Amend the limit property for CBLQuery, default value is -1, represents no limit