Fix missing check for int