[RFR] Allow list type argument to logged_query()