Fixes bug that could cause contact to be added twice