Removed 'limit 30' from sql statement in run_platform_query function.