Bug fix for !3629 (merged)
Should have been using Map.get rather than the square bracket notation for accessing the Map values. Sorry about that.
Map.get
Map