fixing ID check on conditions contributions, #29
Fixing conditions saving bug, #29