Fix Validation in Term Edit
Fixed Edit and Delete Term methods