Fix segfault from accessing array out of bounds

argc == 2; argv[2] == crash
Merge pull request #1608 from mattsta/fix-sentinel-current-epoch-segfault

Fix segfault from accessing array out of bounds