Filtered locations array to use unique locations