Avoid error when listing a permission without assigned laboratory. Fixes #51.