Fixed yet another bug with selecting contracts in dbh.