Use indexOf isnt -1 instead of > -1 for consistency.