Range query had some issues.