#22572 - Updated to work correctly when the work template doesn't
contain a name key