Changed name comparison to be case-insensitive