Fix db upgrade bug