Added junction checking to isValidTransition