Fixed issue #8968: Survey cannot be printed if invalid array filter is set