fix (another) bug in booking counts sql