Fix case explode on cases with attachments

@dannyroberts 
Agreed. Fixed