Group weight generating code now takes into account the DateNeededBy value