Fix nil to int comparison