* Fix destroy function not using schema

This is related to issue #1645