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

from cli / rest context

https://jira.ez.no/browse/EZP-23257