Add commented order: "REVOKE ALL ON FUNCTION ... FROM PUBLIC;" when the function is declared as SECURITY DEFINER.
Fix previous patch.
Fix GRANT in ALLOW or EXCLUDE filters.