Sure would have been great if I'd bothered to test this first...