Fixed small errors resulting in infinite loops, fixed naming issues regarding double interpro input