Fixed bad string compares and simdictionary