[Fix #593] Fix error with no symbol at point
Merge pull request #595 from johnwalker/fix-593

[Fix #593] Fix error with no symbol at point