Fix typo s/falgged/flagged/