adaptComposition: fix typo - was referring to the wrong variable, causing it to return the original composition but with the last element changed and the whole relation remapped