add type in assert log
fix infinite loop in MutationToSosieQuery