Fixes bug where number of posterior draws was computed incorrectly and w...

...rong warning was displayed

The bug did not affect any computations, but only provided a wrong warning