Fixes placeholder matching with ORM (soci::values)

This is a fix for the issue #121