Added case for multiple infoboxes and fixed parsing problems