Fixed crash when opening item details