bz19887: Set deleted to 0 instead of NULL for non-file items.

This makes the WHERE clause in the query get those items.