Little bugfix regarding date and calendar modifications.