Added checking if entityTitleSelector is not nil
#GP-1673