Prevent Illegal group reference for excluded resources