Wrong compare greater than