Another hidden field tweak

Group hidden elements at start of row into a single row but start a new row on the first non-hidden element to avoid css selector first-child formatting issues.