Fixed a bug within the Repository that would try and get a max id value when an insert is called even if the IdDoesNotExist strategy was declared. This was also causing an unnecessary select * query when ids are guids.