Fix bug in QC script

QC script was dropping wrong columns and rows