Fixed bug with non existent location breaking add
Merge pull request #11 from kienwai/master

Fixed bug with non existent location breaking add