Fixed opening hours

Since some new columns were added to the `libraries` table, the query needs to be updated. Instead of selecting `opening_hours`, we now select the `new_opening` column.

Note: The latest dump of the union_catalogue needs to be imported first on the dev instance before merging.