Fix an index error when wrapping around the Emoji list.
Review Request #14164 — Created Sept. 12, 2024 and submitted — Latest diff uploaded
A logic error was causing us to hit an out-of-bounds issue when hitting
the end of the emojis list. We now correctly wrap once we hit the end.
Ran a large number of grumbles and saw that it didn't crash, it just
looped emojis.