Fix for division by zero error when copying appointments

git-svn-id: svn://svn.openvpms.org/openvpms/vpms/trunk@5905 9e4fa352-aafb-0310-9071-df624684024b
Changes for Summary View
Merge remote-tracking branch 'remotes/trunk' into 1.7.1-CDIT-beta