Bug fix to prohibit #exists? from altering the original input string
Fix bug when calling #exists? that alters the original input; original input now remains unchanged.