Fix a bug in the calculation of the bulge to (disk + bulge) flux ratio