Fixed wrong condition on showing add friend link