FIX: Maximum weights were not properly saved for bridges in some cases.