Fixed issue where system would hang instead of upload if it matched the
header.