Integer comparison fixed to string comparison