Added linking up of line_items to Account/Envelope

Handles empty values on Profile_account index