More fixes for process import logic.