Make sure there are no remnants from last upgrade before upgrading the db