rank() supports all four types of queries now (no key+no prefix, key+no
prefix, no key+prefix, key+prefix)