fixed bug that would not allow users to be deleted, if there were existing tradetransactions or books