Fixing bug with limited maps.