Drop falsy values as they will not be restored anyway.