ENH #4163 Fix bug in index + parse date interaction, added test case for problem