Cleans up deleteRecord to use forEach.