Sharing: use equality operator to avoid issues

See https://github.com/Automattic/jetpack/pull/1343#discussion_r21248610