make ActionMessage.ApplyAvailabilityEffect more robust to null values (#47)