Bug Fix: make sure that the validation excludes the same entity as that being validated
Use the Template name set getter and form field instead of template