Check should not open next field

this had the code from lines 390-393 in the previous pull request