Add 'loose' option to joinempty and leavewhenempty which is almost exactly like ...