Fixed notification retrieval bug