Fixed to DIP upload errors.

Fixed false error showing during async deposit and fixed issue with synchronous
DIP uploads being classified as async in the database.