NPE on syncing nullable FK #22