A self-employed contractor could claim ownership of IP created during their tenure – ensure a clause in their contract transfers ownership to you