/** * Make sure the soft-filter is added to max() calls */ public function max($column) { $this->add_soft_filter(); return parent::max($column); }