Issue LOOP-77 by tj: Updated patch file