Fixes validation for Type field
Fixes typo appyActionOnField