Fixed comparisons to account for actual OBSERV values

Pull request #59 was incorrectly merged, this pull request is simply the same request again