[PATCH 11/38] tick-common: fix wrong check in tick_check_replacement()