Fix potential DB update error

This should have been in the last pull but I didn't get a chance to add it before it was merged.  The last thing Amagi Metals encountered was that the database update script was not finding the bitpay_ipns table for them due to their table prefix.  This update will fix that and should be merged before promoting the new version.