Fixed a minor bug that could block notifications under some circumstances.