Can you add a test for this case? It was pretty obscure and I'd hate to regress on it.