PLAT-169: Add limit in case on dynamic playlist.

The limit is used when we query from the DB.