[PATCH V1 Resend 1/5] tick-common: fix wrong check in tick_check_replacement()