Fixed bug in RIProduct