XML reader was missing proper return statement handling.