Fixes a bug with latest update.

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