fixed bug preventing duplicate articles from being saved to database