Fixing incorrect web fragment insertion