Fix the case where the excerpt is empty and set to None, close #296