Fix integer usage in takeback detection for real