Fixes #310 Smilies shouldn't have same display order value

#310, Fixed issue where you couldn't edit a smilie due to the display order.
sid is always casted as int directly in the core class so removing the cast here is better