Fixed remaining SQL queries for int board.