Fixed db creation if treatment changed Start/End-Year