Fix bug with tab component in patient dashboard