Correct error message spelling error
Remove deep_tree dependency
Use symbolized keys for query building
Introduce truthy conversions
Attempt to get externalid