Fix incorrect 'delete' call.