Finished the switch from MySQLi