Fix multicurrency error described in http://www.weberp.org/forum/showthread.php?tid=994