Fixed an edge case when no seed data is present - should never happen, but broke rspec tests