Bug 853470: Fix server errors for grants pages.