Fixed a bug with the onUpgrade of the Butterfly table that resulted in recursive calls to database.