Fix #927 "Data in collapsed section is not validated"