Fixed the bug for last hour of day

http://www.grasshopper3d.com/group/ladybug/forum/topics/strange-error-with-the-ladybug-analysis-period