Handle no-items situation properly