Fix #894: Regression: XIncludes in sandbox-tags result in PHP segfaults