Add boundary checks for derived tables in FROM clause
Merge pull request #701 from mwulftange/derived-table-boundaries

Add boundary checks for derived tables in FROM clause