better/stricter fromIndex

The previous code with `fromIndex` support introduced a weird edge case in order to deal with bad input. This PR changes the code to only work with integer values, not booleans, objects, NaNs etc. If the user passes a non numeric value it will be silently ignored.