setValue() performance minor fix.