Sometimes when running counsel-git-grep, the command appears to search for any text without first prompting:

I would normally expect to see this prompt:

I see screenshot one when I run the command for the first time after creating a new buffer or switching to an existing one. Subsequent calls prompt as in the second screenshot. It's not always the case though but I haven't noticed a pattern.