Minor optimization fix.