When you did the front brakes did you replace the rubber lines?
Sometimes those lines can collapse inside and you can get fluid through them one way because of the pressure applied when using the pedal, but it doesn't have enough pressure to relax and let the fluid back off.