Fix the references to p1:inputsFrom and p1:outputsTo since they now both use p1:hasLocation.