Try to filter out bad maps

fixes ticket:3982