Fix store md5 comparison