Filter criteria bug fix

- fixed the bug that caused all past history filter criteria to get set
to false if previously set to true