Simulation of magnetic cloud propagation in the inner heliosphere in two dimensions: 2. A loop parallel to the ecliptic plane and the role of helicity