Fix hidden date selector for annotations.

fixes #4510