Fix string case comparision
Merge pull request #1404 from Zentyal/scabrero/bug-1196

Fix string case comparision