Fixed bug with has_subscriptions() where time() was used when date() should have been used instead.