Fixed bug in overlap dict