This fixes a bug in the SQL that only occurs with non-standard table names, such as with a table prefix.



More...