Discussion of bug and fix is in this thread:
https://openacs.org/forums/message-view?message_id=461759