correct for value to match input id

Closes #5424