Fixes 0 time check. strcmp does not always return 1 when not equal.