Remove from kwargs when expected value matches