[fix] Edge case in variant selection in website - when variant has less number of attributes than template