Respect the interval in DoctrineDriver
Fix doctrine driver