Some minor improvements

Solved a issue occurring when sequencing files of length 0bp are
present.