fix error when no checkboxes are checked for filters