Fix: Check data length after before_add callback