Cast string to int when filtering for best and worst market