Fix bug where we incorrectly compared observation with expectation.