fix cash curriculum bill sql logic error