try to find the filter on the server this way,
FilterFactory filterFactory = FilterFactory.getFactory( );
FilterKey key = new FilterKey( );
FilterCriteria criteria = null;
if( FilterKey.GetBoolean( false )
{
criteria = new FilterCriteria( );
criteria.setRetrieveAll( true );
}
Filter filter = filterFactory.findByKey( context, key, criteria );
and then enable the filter..
Thanks,
Anuj.