Case-insensitive comparison for contact filter