check the key usage/type in the key match function (attempt to fix bug #728213)