Fix bug when fetching issue by id