* fixing showing am and pm options when value is clearly am or pm. now it only shows pm options if value contains pm in it.