modified the conditional for relating project to inventory collection, refs #176