Fallback to zero similarity when trying to match null values

PostgreSQL will return a NULL when it's calculating the similarity of a string with a NULL value so wrap the similarity calculation inside a coalesce to make it fall back to 0.0 similarity when comparing with NULL values.