fix infinite loop when end date not specified
Merge branch 'master' of github.com:cambecc/earth
allow update of current layers only if no cycles specified