Fixing generic default value comparison.