Fix a bug in MD5 comparison