fix BC for #3545

see http://cakephp.lighthouseapp.com/projects/42648/tickets/3545-_selectoptions-function-setting-selected-incorrectly-when-id-value-types-are-mixed