Fixing filter call to undefined method