Index: /mods/wpsg_mod_onepagecheckout.class.php
===================================================================
--- /mods/wpsg_mod_onepagecheckout.class.php	(revision 7922)
+++ /mods/wpsg_mod_onepagecheckout.class.php	(revision 7923)
@@ -64,6 +64,5 @@
         } // public function wpsg_deinstall_sites()
 
-		public function content_filter(&$content)
-		{
+		public function content_filter(&$content) {
 
 		    $id = wpsg_get_the_id();
@@ -71,6 +70,5 @@
 			if ($id <= 0) return;
 				
-			if ($id == $this->shop->get_option('wpsg_mod_onepagecheckout_page'))
-			{
+			if (in_the_loop() && is_main_query() && $id == $this->shop->get_option('wpsg_mod_onepagecheckout_page')) {
 				
 				$content = $this->onepage();
