Fixed a crash on Margin Call.