Fix #1066: Can't delete trashed items