Fixing CLI to handle case of missing both start and end date