Fixed bug in artices#index logic