Fix compareOptions handling in Diff.Compare<T>

Fix #827