PSGetIndex - fix for some implicit string conversion cases