Fixed convertToEntity

method now only tries to get players rom db only if TeamTo has id set