How are you applying your finish, brush or spray?
The best way to prevent this is to use a different solvent base sealer than your stain. If you are using water based stain then seal with a wash coat of alcohol based shellac. Then you can scuff sand and apply your water based coating with no problems.