Agent penalties

I did it for the SELECT, but it does not seem possible for the UPDATE because the WHERE clause is quite complex. I do not see how to handle it easily using db_converter.to_source().