Fix prevent saving duplicate skills in DB.