Limited iput red borders on errors to first one in the scope (to avoid highlighting valid nested inputs)