In order to work as you expect, the type field of the reconciliationtask data type must be defined as type Transaction Type (your option set’s type). Is that the case?