Fix missing state pension date range

Fixed error with date range.
Additional test coverage.