Fix pruning of common sequences at start.
Merge pull request #18 from pck/fix_prune_common_start

Fix pruning of common sequences at start.