fix interval for a single entry

The GCD was actually calculated for at least 2 blocks. With only one
block, the interval was ignored and the default (5) was used.

Fixes #1