Reverted back to the == comparison for compat

Hope this looks better.