In the federal return, there is a place to enter state of residency on the K1 worksheet for each shareholder. Is that where your Delaware problem comes from ?