Filtering fixed

Hi Joel,
            Please do have a look. I have fixed the problem & now the data are getting filtered properly. 
Thanks.