PLANNER-201 Add generics support for the MoveListFactory API - fix compilation error
(cherry picked from commit c8357c49eb43cd9e638b2345b3555927e15a3b38)