Fixes create_indices to also create indices..