Fixing permission check filter not being called