Fix creation of checkout agreements