I think it would be better to test the empty case explicitly here, to avoid any confusion.