Bugfix, wrong comparison