Fixed resource filter issue