Fixes #5.

Fixed wrong field comparison.