most_common_value: fixed to ignore negative values

np.bincount raises an exception if provided with negative values. All
existing use cases should not provide negative results.