Fixed client-side preprocessing for availability submission.