[521940] Prevent index out of bounds exception on empty SMV tree