minor logic fix for single page gists