Personally I would have declined the request. Part of the peer-review system is that it is anon., so I am guessing that he might not have known that you were reviewing, even if he was the editor (if he submits a paper to said journal he has no power over its review to allow the peer-review to stand up to scrutiny). The reason you were likely selected is your expertise in the area, and its probably coincidental the timing. I'm suspecting he still has no idea you were a reviewer as long as you didn't disclose your identity.
My reasons for declining would be that of conflict of interest. You have a professional relationship to the individual, and given that he held a position of effectively power in relation to you there was always the danger of an accidental exposure which would compromise you. Sometimes its better not to take that risk, even though the notion of peer-review is meant to be biased or impartial.