fixed bug for conditional pages in WPML