Correctly apply BEAST_VARIADIC_MAX