Fixed --before and --not-before in GUI.