Fix check for empty/nil first/last name in Teacher and Student models.