Fixed the bug that showed a 404 page to the blocked user rather than a permission denied message.