[BUG BASH] The result of query isn't right.