Fixes bug where number of posterior draws was computed incorrectly and wrong warning was displayed

The bug did not affect any computations, but only provided a wrong warning
Merge pull request #705 from JohannesPfeifer/get_posterior_bug

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