Fixed notifications bug introduced with the last revision