Use correct arguments for iterator constructor

This ROOT 6 specific pull request fixes the three failing unit tests in package CondCore/DBCommon.
Please merge as soon as convenient.