Removed the limit in queriesif the limit is explicitly set to null