Fixing error message for indexOf when no arguments are supplied

Error message used to be copied from remove, now it states the correct error message.