Fix #1445 Bans Ending Soon SQL Error