QUERY PLAN
GroupAggregate (cost=403.13..403.57 rows=22 width=36)
Group Key: work_log_id
-> Sort (cost=403.13..403.19 rows=22 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..402.64 rows=22 width=9)
Filter: ((status <> 4) AND (status <> 0) AND (work_log_id = ANY ('{15759,15758,15757,15756,15705,15671,15619,15609,15336,15298,15271,15259,15175,15166,14205,14135,14004,13717,13681,13524}'::integer[])))