[#2464] Bad SQL rendered from DELETE statements with aliased tables