Added checks for when there are no prayertimes