Added missing bracket to deletion query