I think 2017 has an error on form 1040 schedule D line 22. Either yes or no should be checked.