Make sure build records are created for builds flushed from queue