Fixing string equals()