Fixed an issue preventing the last day from being build.