Fix bad check for adding hops to the stock DB