Add missing reference on const queries.
Add missing reference on const queries.

libmetrocoin/libmetrocoin-client,libtetcoin/libtetcoin-client,libtetcoin/libtetcoin-client,libmetrocoin/libmetrocoin-client