Improved equals for locations