Don't handle document upload validation manually
reset validation rules after calling a custom validation function

This prevents problems when later using the same object to create a new
record.