Bugfix: DAO Session handling Fixes a session handling bug in the DAO, leading to not-terminating simulation runs. See merge request !14