Corrects DB migration error