Fixed error when field is not required