Improve semantic errors for allShortestPaths
Merge pull request #1265 from cleishm/shortestpath_checks

Improve semantic errors for allShortestPaths