Fixed bug with cascade options deletion, ref #242