Added checking if two correct workflows can run after each other