Fix a mod+r bug introduced a while ago