Fixed bound shifting

When downloading data, the date validation would shift the bounds of the
logical array more than necessary, this has been fixed. Also, made
logical array True/False instead of 1/0. This was an attempt to simplify
things with Matlab.