Notifications only show if one is present

query checks to see if any records are returned with an open current
date. if show this shows in a notification banner. if not then a blank
div is created