Found one-off error in HTML view for query