Fix bug introduced in PR #244 where incorrect filename used to find last check date