FCFF needs to NOT include pref div. Whether you add them back or not depends upon whether they have been deducted or not in the first place.
e.g. if we are starting with "Earnings available to ordinary stockholders" then this means pref div have been deducted so we would add them back. However if we were starting with net income and no dividends had yet been deducted then we would not need to add back pref div.
FCFE: the opposite applies ie we need to include the cost of pref div in FCFE. Therefore if the starting figure has already deducted pref div then no further action is required (ie first example above) whereas if they have not been deducted (second example) then we need to deduct pref deiv when calculating FCFE