Correct equality check
Merge pull request #16 from PatientView/feature/looking-local

Correct equality check