Throw exception if flash key value is not an array.

Return null if flash key doesn't exist in session.