Fix notifications bug

Fixes #51