BUG: Fixed a bug in convert_objects for > 2 ndims GH4937

closes #4937