Trait Allotment Fix

Streamlines TRAIT_ALLOTMENT unit assignment in the sql.