Fix int checks