I don't know whether this is necessarily the cause of your issue, but I discovered one reason why it doesn't always work. On mobile Safari, iOS ends up inserting smart quote characters rather than straight quotes when you type them. Google ends up ignoring the smart quote characters. To work around this, I have to hold down the " button to explicitly make the keyboard insert the straight quote character.