Corrected bug in plotting insert lengths