Make return_gateways_array() return all disabled gateways when $disabled is true, it should fix #3291