Fixed XML reader of external actor getting proper direction of ports.