RESTEASY-994: Modified variant selection.