CA-97947: Case-desensitise matching of variant types

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>