[PATCH 3.13 013/160] tick-common: Fix wrong check in tick_check_replacement()