Changed plotBuy to check if a plot is inactive