No need for the metadata.category check:

`if ( metadata.category !== "broadcast" && !metadata.alias ) {`