Fixes #864 Attach style sheet to specific files does not expand the selection