feature #2909: Fix template filtering
feature #2909: Remove template_nic if the default mic is changed for an existing template
feature #2909: Fix role state error
feature #2909: Improve settings layout