follow up:
Looking at the URL it appears that the selection criteria indicates which records to select NOT the range of history to return. So the having the script filter by MAX_AGE (per the patch) is correct. A quick examination of
https://onionoo.torproject.org/protocol.html
reveals no obvious way to restrict the history time-range returned.