Catch InvalidKeyError in UserTagsEventContextMiddleware.

LMS-11189