Fixed crash due to finding if tapped character is part of string