Changed empty? to nil? in upload forms.