Fix for unique constraint violation tmp_existence
Merge branch 'develop' of git:Minerva/python/minerva into develop