Fix particle sampling corner case