Then figure out which motherboard slot is assigned to GPU5 when they are all connected. Then disconnect that GPU completely and try running the system.
If it's Nvidia cards you'll still see a GPU5 because they are assigned numerically by the driver by quantity of GPUs in the system, not slot or PCIE bus ID. See if that solves it, if so then you may have a motherboard issue.