Add debug condition on secure filter