Fixed a bug (> instead of ==)