Postgres Aggregate Into Arraylist Remove Value