Fix EZP-23257: fatal when instantiating a "related object" survey question

from cli / rest context