Smarter axis min/max handling.