Fix FASTFORWARD_BEHIND_THRESHOLD  implementation