Database is not rebuilding correctly. Not too sure why as it looks correct. Will review in the morning.