improved notification filter