Prevent calculating indeces to future