Add transaction rollback on IntegrityError