Potential fix for time-period sanity check

See commit details. Fix for checking for requested time period in getHits(). Let me know if I missed anything...