Database bugfixes

Bugfixes for saving Models, Experiments, Result