Fix for disappearing notes functionality