Improved indentation error checking