sql assembly fix in get_all_feeds()