data: check for emptyness when converting to seq