Fix off-by-one in lowercase check.

.. and removed a spurious println().