Fix #890 - media stays empty after selecting invalid custom dates

Fix #890 - problem was caused by failing to hide the "empty view" when a valid date range was chosen, now corrected.