Fix detail screen last/next date saving bugs.