Fix prefix check. Remove all numeric keys from sel