Fixed internal error raised when cloning config in AY moduleb

bnc#866742