ifpending repaired. Show page "all contacts" directly if no pending connections.

Tried to repair. Think the merge of flags was wrong in the last
commit.
Merge pull request #441 from sasiflo/master

ifpending repaired. Show page "all contacts" directly if no pending conn...