[Fix] Make sure we have data before using it.