Catch InvalidKeyError in UserTagsEventContextMiddleware.

LMS-11189
Catch InvalidKeyError in static_tab view.

LMS-11189