fixed ItemsFromEnum method

excludeEnums param was not used