Fix article for generator name

Use 'some' instead of 'a/an'.
Merge pull request #9185 from tricknotes/fix-article-for-generator-name

Fix article for generator name
Change behaviour with empty hash in where clause