Assertion failed bug fixed.

In some cases, the assertion in SC_Load() might failed. It is fixed now
by adding a conditional statement.