Fix for OVPMS-1488 NPE exporting product data where prices have no max discounts

git-svn-id: svn://svn.openvpms.org/openvpms/archetypes/trunk@5993 9e4fa352-aafb-0310-9071-df624684024b