HPSA-48: Delete query adjusted.