Fix #13505: Yet another detached add patch