Fixed constraint issues with articles.sql