Yeah my way of approach and sense I said it went wrong but it's the way ur approach is right.
At last now we know if you had mentioned that in the first place that it effectively indexed until all five parcels were on the conveyor it would be easy.
In actual fact you would only need one sensor as you could use a time delay to ensure the package tas indexed to the right position beyond the sensor to allow next package.