Fix issue with setting check.