Bug fix.

Signed-off-by: Rion Parsons <rkparson@ucsc.edu>