fixed logical error in is_aspnet_registered?