Improved curve validation