Fix warning due to incorrect modifiedItems property declaration