Fixed bug in Gene.getWindows() that was causing blocks of size 1 to be
missed