Fixed bug with registration deactivation hook
Comment using filter