Do not return infs and nans in getNodeOmegaDistribution for single rate classes