Fixed an error where the set field was ignored on key queries.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>