Support filtering resources by either hash or range key