max() and min() in ORM::Filter