Fix logic problem where embed would only embed on connect pages rather than not embed on connect pages.