Fallback for ids of unexisting articles

Agree, thanks.
Will change code due to this remark.