Fix exception for unsupported operations