Make ReportCache.serialize_conditions nil safe

#empty? is not nil safe. Use blank instead.