Dev: better fix for issue #9140
Dev: https://github.com/LimeSurvey/LimeSurvey/commit/55244859fad6a36e8f9c492035f275ea97098391 child