modified Listresources query