Fixed assertion based on recent changes

Signed-off-by: crynobone <crynobone@gmail.com>