Fixed in trunk. Thanks for the report and patch!