FORGE-1814, FORGE-1815: Testing if list is empty