Fixes #1383 issue when using select with values that include capital letters