Additional details special case

Showing additional details was failing when the results had a mixture of nested and non-nested attributes. This fixes that.

Fixes https://tickets.puppetlabs.com/browse/RAZOR-270