fixed some bugs related to cloning/aligning replication of inlined relations