Fix problems with the realtime notifications. https://redmine.stoutner.com/issues/764