Yea I figured it would need a subquery. I filed a ticket with thelibrary. Hopefully they will fix it.