STORM-558 change "swap!" to "reset!" to fix assignment-versions always empty in supervisor

This PR is for JIRA STORM-558 to fix #167 .