fixing an issue with string comparision in feed generator factory.