Fix #1445 Bans Ending Soon SQL Error

Fix #1445 Bans Ending Soon SQL Error