Reduce duplicate work due to overlapping autocommands.