Moved unset outside of conditional.
Changed comment.