Bug fix for /locations