Fix for deleting selected notes