Think twice about collaborating with a friend or colleague. What looks like a perfect fit may be otherwise.