Used wrong function to check for Media - Fixed!