Updated to allow for a mix of multiple and partial finds to work properly.
refactor of procedures used to determine a match and to get data to queue.  This was needed to make the nesting logic easier to understand, read, and work with.
Linted the project and cleaned up necessary fixes.
whitespace changes
Fixed issue with partial matches being removed via @tjchaplin