Improved error handling for bar sizes of 1 day and more.