Fixed infinite loop in QuantumType getNetworkType() (essentially calling itself for the endpoint REST resource.