There was a heated exchange over the law in what was one of the the last sitting plenary session before the Senedd elections in May