DK: fix missing NULL pointer check for DK expansions