LPS-33583 Fix for LayoutSetPersistenceTest

Hey Julio,

I've figured out the solution for this one as well. The actionable dynamic query was calling the service's dynamicQuery method which returned with a list of Long objects. The call was executed through the staging advice which was not prepared for such lists.

Thanks,

Máté