Fix provision autoselect
Code review fixes
Merge pull request #311 from Icenium/fatme/fix-provision-autoselect

Fix provision autoselect