CRM-2098: Widget Average Order amount has wrong data with empty fields
 - added fix for null values
Merge pull request #1138 from laboro/fix/average_order_amount

CRM-2098: Widget Average Order amount has wrong data with empty fields
Merge remote-tracking branch 'remotes/dev/master'