#380560: UI could suddenly cause errors with get_handlers() in certain situations with relationships.