Fix bkg error calculation
Merge branch 'dev/yields'

* dev/yields:
  Fix bkg error calculation