Handle empty recents visibility in spite of getting an incorrectly-typed empty view

Change-Id: I9bcf8b9dba1d1072e3d48ee838aab710112ec720