Return generic dictionary terms, even if no local terms are found

Previously, a lack of terms native to this legal code would result in
no generic terms being returned.
Misc. code formatting cleanup