Fix finding overlaps with bed files