Fixing error where works were not displayed on the public profile page