Protect lastWaypoint.latitude from null call
Merge pull request #46 from windley/gh-pages

Protect lastWaypoint.latitude from null call