Fixed an issue that caused the scripts not to select any read from the
first alignment