fix NestedForeignKey when not required