Updated nmap parsing logic - thanks @digininja for pointing this out