fixed bug in determining neededPriorParams
fixed bug in determining neededPriorParams

nimble-dev/nimble,nxdao2000/nimble,nxdao2000/nimble,nimble-dev/nimble,nimble-dev/nimble,nimble-dev/nimble,nimble-dev/nimble,NLMichaud/nimble,NLMichaud/nimble,NLMichaud/nimble,nxdao2000/nimble,NLMichaud/nimble,nxdao2000/nimble