Fix auto setting opt_z bug when given an amplicon BED