Multiple jsonpath validation within checkif

Hi All,

How can I do multiple jsonpath validation with checkif?
This code only verifies the last jsonpath

.check(
      checkIf((response: Response, session: Session) =>
        session("status").as[String].toInt == 200) {
        jsonPath(jsonPathCount).findAll.transform(x => x.mkString(",")).is("${expectedTotalCount}")
        jsonPath(jsonPathRecOffset).findAll.transform(x => x.mkString(",")).is("${expectedLastRecOffset}")

      }
)

Separating the checks like the code bellow only verifies the first one