C5W2 Emojify Cell #22. Can't compile the student's code. Error: KeyError('funny',)

I have the same issue, how can it be solved?

UPDATE: Fixed it per Emojify - KeyError (‘funny’,) - #25 by TMosh
It would be nice if this kind of errors would be count while implementing the functions, not
just during submission where the noted cell actually doesn’t have the error.