Precreate move_type and fill with appropriate values to prevent a MemoryError when the ORM attempts to call its compute method on a large amount of preexisting moves. Apply a mapping instead of separate queries, courtesy of Pedro Baeza.