Reading logic trees from DB - follow up (fix for a careless refactoring error).

Fixed a error refactoring error.