Attached patch fixes this issue. This was missed by78efd5c1edb59017f06ef96773e64e6539bfbc86
-- Peter Geoghegan