Fixed bug with int/char char/int comparing