Corrected merge of IR legacy qual