Prevent invalid list iterations; add a few error messages.
Prevent invalid list iterations; add a few error messages.

RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix