This fixes the bug. It would be nice if this was fixed in a general release too.
(note that I hacked the SQL string straight into the code, but it needs to be changed in the generic_queries.sql file) [originally posted on jforum.net by jrouwe]
Ew. You guys are ugly with a capital UG. Here, maybe this tiny ad can help: