Use a range query when only a hash key or range key is specified in query. Includes tests.