fix BsonQueryFactory to bind multiple names on template

It is a proposal to fix the issue #204