Fixed an isDeleted check in the Media uploader

Title has it.

/cc @sendhil