Incorrect invoice and quote ID after upgrading from 1.4.6 to 1.4.7