Correct dubg variance with weights