Typo fix in comment, clarification on logic