Update articlesrouter.class.php

Line 59 is ignored and causes the $resourceid to always be set (to the container id), and therefore when a page is not found, doesn't redirect to the error page.