Fixed issue with date_fin causing 500 error