Add boolean query for read_only