Fixed error when the page contained no valid shingles.