Code review for inputting units bug.
Added a comment with explanation.