Layout fixes on duplicate patient search