Fix error condition in orset