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.
Fair enough. @PaulBender could you remove the cast and we'll be good for a merge. :smile: