Any time a cheque bounces there is a presumption of liability. As the case proceeds u/s138 it is for the OP to deny that liability in court by adducing proper evidence etc.
It'd depend upon the nature of compromise - was that legal in law to begin with.
DISCLAIMER : General information and advice provided is without any warranties as to suitability for any use, correctness and application to any specific case. Please always take proper legal counsel . However, if it helped anyone even a little a " thanks" would be appreciated and would encourage me to keep on making efforts :-) . I am also always open to corrections and further learnings from more experienced Seniors here.