Fix crash for articles without a page image

Found a small error. My bad.