Wrong variable in logging caused false rejects