Fixed case sensitivity issue with isMemberOf().