Fixes an issue with upper/lowercase chars in slugs

Because of inconsistencies in MySQL and PHP with case-sensitivity strings that aren't the same may be matched in one and not the other causing validation to fail.