fixing numeric_index function, now returns 1 as numeric index for any month before 2010-01-01