Fixes #52. Passing correct source parameter to detail pane