Fix tag stats to properly ignore messages in spam/trash