Used correct operator when comparing values.