Fix small acts_as_list bug in interactive_pages_controller.rb

Also Add test, and migration to fix any wayward data.