Fix searching for non-primary-key values.

Make sure keyword arguments to get() and remove() are not interpreted
as Value not being None.