Delete incorrect logic that had been previously commented out.