Fixed #603: Template layers do not expand empty parameters in formatting strings