Unable to run non paged query