Northampton Saints director of rugby Jim Mallinder believes costly mistakes made tough work for his side in their last minute 26-24 win over Wasps.