QUERY PLAN
GroupAggregate (cost=399.81..400.25 rows=22 width=36)
Group Key: work_log_id
-> Sort (cost=399.81..399.87 rows=22 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..399.32 rows=22 width=9)
Filter: ((status <> 4) AND (status <> 0) AND (work_log_id = ANY ('{17033,14609,14312,14235,14202,14024,13903,13789,13776,13744,13727,13695,13688,13659,13635,13600,13544,13509,13402,13392}'::integer[])))