Fixing the bug in the query to retrieve draft containers