fix for ticket #554 - truncate local urls in RecentLocationsQL

Change-Id: I1b26590bb0182467fc7a4c61d4371666e4e84f33