Comparison data type mismatch corrected