Added function to drop keys for specific record_id