Bugfix: shortened oligos were never chosen due to if instead of elsif