Fix bug with TaggableListener which does not account for inheritance