Fixed stupid toLowerCase() and then checking for uppercase.