Remove an unneccessary check of cipher