Fixes #5592: Fix display of inventory directive reporting details
Merge pull request #736 from VinceMacBuche/bug_5592/error_in_the_web_interface_when_trying_to_access_inventory_report_on_the_node_page

Fixes #5592: Fix display of inventory directive reporting details