Fixed an isDeleted check in the Media uploader