I've found something that might be a bug but I'm not sure. Either way it is at least fixed for the next version.