Fixed bug in SubQuery