Bugfix: do the staging correctly with libdb1