Fixed the issue with double records being created when the checkbox is s...

...elected on the resource_type edit page

This fixes http://squish.ish.com.au/tasks/19000/edit