Merge pull request #1304 from ovruni/master

Feed Category
fixed sql syntax