Made field comparison case-insensitive