private Optional<Step> getStep(PlanManager manager, String phaseId, String stepId) {
List<Phase> phases = manager.getPlan().getChildren().stream()
.filter(phase -> phase.getId().equals(UUID.fromString(phaseId)))
.collect(Collectors.toList());
if (phases.size() == 1) {
<BUG>Element<Step> phase = phases.stream().findFirst().get();
List<Step> steps = phase.getChildren().stream()
</BUG>
.filter(step -> step.getId().equals(UUID.fromString(stepId)))
.collect(Collectors.toList());

private Optional<Step> getStep(PlanManager manager, String phaseId, String stepId) {
List<Phase> phases = manager.getPlan().getChildren().stream()
.filter(phase -> phase.getId().equals(UUID.fromString(phaseId)))
.collect(Collectors.toList());
if (phases.size() == 1) {
List<Step> steps = phases.get(0).getChildren().stream()
.filter(step -> step.getId().equals(UUID.fromString(stepId)))
.collect(Collectors.toList());
