Changes in subquery restrictions

The following subquery restrictions have been removed:

The following subquery restriction has been added: