Fix OQL query print
Fix SQL query builder to prioritize from link in front of fixed collections.