Filtering but no result when I sort after filtering due to all checkbox states being empty