Bug fix with pdbCodes being used instead of inputNames