bug fix in the incidents table pagination