Fixes on WFDB file upload error, on lead count and number of points