Fixed issue with displaying professor profile when navigated from search