Fixing db query runner debug variable binding