CONTRIB-4288 fixing check for display setting