Corrected bug with downloading checks from data base