Fix validation bug in article model

Fix issue #4