Added some code to force the Middleware to wait for GM to receive its
new view before getting the primary nodes.