PDO transaction bugfix when cloning assignments