Conditional logic issue on IE for WP8