Change Random Action to work with Legal Actions