Empty range set should not result in a full scan