Added check for model._uploads object