Fixed migration error categories