Fix for DBAL-442
Merge pull request #304 from yethee/dbal-442

Fix for DBAL-442