Fixed bug in overlapPlot