Fix exception thrown in ToscaElementOperation