Fixed badly trapped validation error