Fixed bugs in MultilinedELement and PaginateElement