conditional added for relating project to inventory collection, refs #176