Support complex comparison (Issue #121)