Small fix for casting Actions