Improve Dictionary access

Just spotted this quick dictionary access optimization.