CRM-13059 fix relationship killing query

Conflicts:

	CRM/Contact/BAO/Query.php