Fix case explode on cases with attachments

@dannyroberts