Setnx returns 0 and 1 not false and true