A patch for this issue was also included in today's (27th May 2014) releases of Totara 2.2.29 and 2.4.20