Prevent array_rand error when banner array is empty.

For example when you have deleted some banners and the frontend still has the widget