bug related to Poisson data

Found by `eriklampa`