Embedding Recursion Issue

Fixes issue where given two objects A and B. If A is embedded into B success. If B is then embedded into A a too much recursion error occurs.