Removed LIMIT 10 from one of the queries