The department responsible for looking after foster children admits it made a serious mistake by putting two children in the same home as a convicted murderer.