Postgresql Array Agg Get First Element In A Set Of Freeze