LIMIT doesn't work since we don't get correct number of results