Ensuring that paths are added as strings - affects primary keys which are integers