Fixed a bug in the determineNextBuildNumber function

- We are now checking for any build logs so that they never get overwritten (and cause other weird bugs)
Removing step_type from the pickled steps in the hope of fixing pickles not being able to be saved