Fix mapping Doctrine dataSource

Fix to issue #138 - wrong generation of where clause.