Fixed bug in skim_ntuple