Return first assigned category as parent for top-level page.

This should resolve gma/nesta#147.