Minor Fix

Fixed small off by one errors regarding the map class