Force a string type comparison for startswith()