Avoiding the Pitfalls of BRIN Indexes in Postgres