SSP-797 - dereferencing transient plan to satisfy hibernate