Upgrade

I was having trouble upgrading the woolman.org database, turns out due to the nonstandard way we record some event payments.
This makes the upgrade script slightly more forgiving and at least now we don't have a fatal error.