This commit fixes a bug where fetching Google Search Console keywords raised a FunctionClauseError. This was introduced in #2046. This commit also adds test coverage.