Ensure validations are run after flipStrand. Refactor it.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>