Fixed comparison error. Fixes #13.