Corrected filter box functionality