Fix CSS selector for am/pm selection