Updated the query to remove the limit keyword