Slightly ugly fix to the double deallocate bug for pressure bcs.