Fixes #2, wrong comparison