Fix namespace key name in namespace migration