Display correct errors on different tabs