Fix stripos logic.