Fix app domain restarts in scaleout.
- If fragment is null then return an empty fragment.