Fixed small map lookup bug