Fix handling of determinant twist and characters