Fix bug in tuple reconstruction