Changed code to only include work orders that are really active, basically anything before being invoiced.