fixed type mismatch (int vs long.... ugh) in motor board

Fixed misreference to a vector. referring to vector name instead of
name of desired element.