Fix bug: conditions field can be missing for a source