Fixed bug in calculating CRP prior