added defined check for select_multiple
Merge pull request #7 from matthew-james/develop

added defined check for select_multiple