Bug 5881 - with replication, delete with idbpm(colname) in where clause failed with an error

Fixed typo.