Add filters and fix some bugs in Articles model.