fix Issue 11344 - Error: object.destroy called with argument types matches both

http://d.puremagic.com/issues/show_bug.cgi?id=11344