Please add a method getFirstActionFromSequenceActionOrReturnSameAction(Action action), call it twice and compare them.