Fixed notification trimming