WK-58: Karma executes the wrong PyTransform command

Do previous command comparison on id alone and not onname as nested
table columns could have the same name