Fixes for all day events

Various fixes, especially for all day events