Bug fixes

- Checking for media item in related gallery