Fixing usort for empty database of friends