Fixing am/pm dropdowns, which didn't display properly