[TECHNICAL SUPPORT] LPS-49461 Fixed array positions

https://issues.liferay.com/browse/LPS-49461

Hi Brian,

I made changes on top your ones (https://github.com/lipusz/liferay-plugins/pull/4), now it works fine. Here are the new commits:
1- lipusz@7ed80d7
2- lipusz@b9963d6
3- lipusz@6faff02

Regards,
Tibor