resolves error in deleting rows when adding or deleting phages

Resolves issue #23