Fixing conditions db fields on save, #17