Fixes issue with notification showing incorrect action