Fix cipher stream action check