Added code to handle array conditional values.