Fix for opening hours -view

Fixed bug with opening hours of removed locations crashing the opening hours view.