Try to fix statement expression location. Fixes #10306