Fixed error that was caused by setting with value = "".  Settings that will be cast to int or bool will fail if only checked on IsNothing.