State tax filing

We just spoke to kpmg.   They said the safe harbour rule DOES apply and that being the case we will not owe NYS any money since he has not worked in the state the last 9 years! They said someone made a mistake in kpmg for sure!  They will be re doing our taxes and correcting it. Hope this post can help another expat in a similar situation