#1772: Fix bug in fragment length calculator leading to exception when we try to compute the average out of an empty sequence of fragment lengths.