Fixed places where toLowerCase() was not needed/ was missing.