Adding some debugging to try to get the secondary entityManager to function