Fixed a bug in using Catogory filter