Restore integer logic.