Found the lrem inverse count reversed array bug