changed definition of related projects instance variable and view condit...

...ionals based on what i felt was the meaning of the original code