query: add >= and <= for amt queries