X in X should be X in Y

function not yet used, but I noticed this gotcha