mid range rpm misfire

Assuming you are running a electronic dist. you may have a grounding issue with the box? Other members know much more about this then me. Hope they will chime in on this.