Search filter checkbox logic