Fixed comparison of null values using Comparer<T>.Default (#279)