You're right -- due to some (must-have-been-pretty-awful) miscalculations about the cost of a certain program that pushed it into deficit territory. My mistake! I was also considering 2017 as this year since a budget spans two years.
For completeness, CA roughly carried a deficit from '02-'03 to '12-'13, and then roughly a surplus from '13-'14 onwards, except for 2017.