Add opening hour filtering function