Switched Transaction form type checks to use Transaction type constants.