Fix the check_interval validator

fixes #8050