It would be better to check ` if ( false === strpos( $where, 'wpsc-product' ) )