Fixes bug caused by premature optimization.