#1 - Check data.length or call will fail on empty arrays
Migrated to meteor >0.9.0