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