Added dynamic=no to condition to avoid error.

Auto generated policies can not be remove, and the script was aborted due to error when trying to remove them.