Fixed bug in 'latest pacts' code by introducing a DB view
Merge branch 'release-1.0.0' into network-graph