Removed LIMIT 50000 on large tables