Fix error in logic on my part.