add reverse support for between age queries (#1427)