LPS-46142 append suffix not only to the last css class