prevent the "select all" from being created twice
Merge pull request #318 from shayh/master

prevent the "select all" from being created twice