Cleaned syntax. No bevavioral changes.
Revised inventory schema (modified host_details view)