Fixed whitespace.  Fixed typo.
Fixed typo.
Rearranged logic to simplify.