Handle empty end date values in api_friendly_values. Fixes #29