Fixes bug that didn't remove notifications