Improved division checks