Update Reversion Deletion Query

Replaced single quotes with double quotes to avoid an issue where the
variable "$wpdb" isn't being converted to the WP database's name.