Correct in_range test for BAR mapping. #24