Make sure timewarp isn't calculated in invalid contexts

There appears to be an error related to index out of range in anomaly right now. Pushing this fix to try and fix it. 

@boourns @aprofeit