Added code to handle array conditional values.
Added method stackConditionals