Add filtering of items depending on persistence service in use

Closes #46