Fix wrong comparison