Make no_content_message right for time periods