Fix problem with comparing lc to uc on key