Failed Unit Test showing Inheritance Issue
Fixes issue without failing and current unit tests.

Note: Line 383 is completely useless giving 382 and 379 are identical and both will be anded together
Just accounted for the fact when destination exists, use destination's type instead of the typemap's destinationtype to account for this issue when looking into includes
Merge branch 'TylerCarlson1-InheritanceIssue' into develop
Closes #537